﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="valuablesselectlist.aspx.cs"
    Inherits="LabMS.Web.CommonPage.valuablesselectlist" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>贵重仪器查询列表</title>
    <link type="text/css" rel="stylesheet" href="../style/screen.css" />
    <link href="../css/jquery.wysiwyg.css" rel="stylesheet" type="text/css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../../style/ie7.css" />
    <![endif]-->

    <script type="text/javascript">
        function focus() {
            var textName = document.getElementById("tbKeyWord");
            textName.focus();
        }
        function DbClickEvent(a, b, c, d, e, f) {
            //window.alert("事件类型:DoubleClick作用对象:"+a+b);
            var ret = new Array(5);
            ret[0] = a;
            ret[1] = b;
            ret[2] = c;
            ret[3] = d;
            ret[4] = e;
            ret[5] = f;
            window.returnValue = ret;
            window.close();
            return false;
        }
    </script>

</head>
<body onload="focus()" class="mainBody">
    <form defaultbutton="btnSearch" id="form1" runat="server">
        <div class="main">
            <p>
                按<asp:DropDownList ID="ddlSType" runat="server">
                    <asp:ListItem Text="编号" Value="0"></asp:ListItem>
                    <asp:ListItem Text="名称" Value="1"></asp:ListItem>
                </asp:DropDownList>
                搜索:<asp:TextBox ID="tbKeyWord" runat="server"></asp:TextBox><asp:Button ID="btnSearch"
                    CssClass="button" runat="server" Text="搜索" OnClick="btnSearch_Click" />
            </p>
        </div>
        <div class="main">
            <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                DataKeyNames="ID" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDataBound="GridView1_RowDataBound"
                PageSize="10" Width="100%" CssClass="infoTable">
                <Columns>
                    <asp:BoundField DataField="Numbers" HeaderText="编号" />
                    <asp:BoundField DataField="Name" HeaderText="名称" />
                    <asp:BoundField DataField="Standards" HeaderText="规格" />
                    <asp:BoundField DataField="UnitPrice" HeaderText="单价" />
                    <asp:BoundField DataField="PurchaseDate" HeaderText="购入日期" />
                    <asp:BoundField DataField="ResponesoblePerson" HeaderText="仪器负责人" />
                </Columns>
                <HeaderStyle CssClass="header" />
                <RowStyle HorizontalAlign="Center" />
                <EmptyDataTemplate>
                    <a style="color: Red">无数据</a>
                </EmptyDataTemplate>
            </asp:GridView>
        </div>
        <asp:Label ID="lbType" Visible="false" runat="server" Text="Label"></asp:Label>
        <asp:Label ID="lbLocation" Visible="false" runat="server" Text="Label"></asp:Label>
        <asp:Label ID="lbPageName" Visible="false" runat="server" Text="Label"></asp:Label>
    </form>
</body>
</html>
